
# Parameter
export STREAM_SRC_1=rtsp://admin:skycomm0512@218.17.227.61:9047
export STREAM_SRC_2=rtsp://admin:skycomm0512@218.17.227.61:9047
export STREAM_SRC_3=rtsp://admin:skycomm0512@218.17.227.61:9047
export STREAM_SRC_4=rtsp://admin:skycomm0512@218.17.227.61:9047

bash command/0_mediamtx_server.sh
sleep 1
bash command/1_push_stream.sh
bash command/2_feature_hub_server.sh
bash command/3_broadcasting_server.sh

echo "waiting..."
sleep 10
bash command/4_run_stream_prj.sh

bash command/5_server_crudj.sh

echo "running..."
# Keep container running
while true; do
  sleep 60
done